package com.itWaVel.feign.client;


import com.Emplyment.result.Result;
import com.Emplyment.util.AliPay;
import com.itWaVel.feign.client.fallback.AliPaySuperUserFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "pay-server", fallback = AliPaySuperUserFallback.class)
public interface AliPaySuperUser {

    @PostMapping("/alipay/prepay")
    Result<String> aliPay(AliPay aliPay);


}
